I was wondering if a small complex part would be feasible in simple PLA... and it is. This replaces the typical slider piece of a hobby knife, those that use 18 mm width blades. The lock works and it is quite smooth to use in general.
Use CA (super glue) to join the 5 pieces as shown in the animation. It is easier if you have activator spray for the glue.